package com.example.springboot.elasticsearch.dal.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author lei yu
 * @date 2024/05/18
 */
@Data
@Document(indexName = "product")
public class Product {

    private Long id;

    private String name;

    private Integer price;

    private String description;

}
